/*CodeBuilder v1.0.4 by 2022/3/9 16:52:18 */
using System;
using ASmile.ORM.Entitys;

namespace ASmile.DBModel
{
	public partial class Cfg_DictType : EntityBase
	{
		private System.String _Id;
		/// <summary>
		/// Id
		/// </summary>
		[Entity(CNId, 0, true, IsPrimaryKey = true)]
		public System.String Id
		{
			get { return _Id; }
			set
			{
				if (!OnPropertyChanged(CNId, _Id, value)) return;
				_Id = value;
				SetFieldChanged(CNId) ;
			}
		}

		private System.String _TypeCaption;
		/// <summary>
		/// TypeCaption
		/// </summary>
		[Entity(CNTypeCaption, 1, true)]
		public System.String TypeCaption
		{
			get { return _TypeCaption; }
			set
			{
				if (!OnPropertyChanged(CNTypeCaption, _TypeCaption, value)) return;
				_TypeCaption = value;
				SetFieldChanged(CNTypeCaption) ;
			}
		}

		#region 字段名的定义
		public const string CNId = "Id";
		public const string CNTypeCaption = "TypeCaption";
		#endregion

	}
}
